// polyfill
import 'babel-polyfill'

import Vue from 'vue'
import App from './App'
import router from './router'

// element ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI, {size: 'small'})

// api
import Api from '@/api'

//utils
import Utils from '@/libs/utils'
Vue.prototype.$api = Api
Vue.prototype.$utils = Utils
Vue.config.productionTip = false

//icon
import '@/assets/iconfont/iconfont.css'

//excel
// import Blob from '@/excel/Blob.js'
// import Export2Excel from '@/excel/Export2Excel.js'
//axios
import './axios'
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
